﻿using System;
using System.Diagnostics;
using System.Windows.Forms;
using EFlogger.EntityFramework6;
using EFloggerTestAppEF6.Views;

namespace EFloggerTestAppEF6
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            EFloggerFor6.Initialize();
            EFloggerFor6.SetLogDelegate(CalbackLog);

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new MainForm());
        }

        private static void CalbackLog(string message)
        {
            Trace.WriteLine(message);
        }
    }
}
